﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_page.aspx.cs" Inherits="AdminPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>材料热处理学</title>
<script type="text/javascript" src="admin/js/jquery.js"></script>
<script type="text/javascript" src="admin/js/chili-1.7.pack.js"></script>
<script type="text/javascript" src="admin/js/jquery.easing.js"></script>
<script type="text/javascript" src="admin/js/jquery.dimensions.js"></script>
<script type="text/javascript" src="admin/js/jquery.accordion.js"></script>
<script language="javascript">
	jQuery().ready(function(){
		jQuery('#navigation').accordion({
			header: '.head',
			navigation1: true, 
			event: 'click',
			fillSpace: true,
			animated: 'bounceslide'
		});
	});
	
function getBodyHeight() {

  var myWidth = 0, myHeight = 0;

  if( typeof( window.innerWidth ) == 'number' ) {

    //Non-IE

    myWidth = window.innerWidth;

    myHeight = window.innerHeight;

  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {

    //IE 6+ in 'standards compliant mode'

    myWidth = document.documentElement.clientWidth;

    myHeight = document.documentElement.clientHeight;

  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {

    //IE 4 compatible

    myWidth = document.body.clientWidth;

    myHeight = document.body.clientHeight;

  }

  return myHeight;
}

function setCenterHeight(){
    var c = document.getElementById ("left");
    c.style.height = getBodyHeight()-127-11;
}

function setCenterHeight2(){
    var c = document.getElementById ("rightFrame");
    c.style.height = getBodyHeight()-127-11;
}
	
</script>
<style type="text/css">
<!--
body {
	margin:0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding:0px;
	font-size: 12px;
}
#navigation {
	margin:0px;
	padding:0px;
	width:147px;
}
#navigation a.head {
	cursor:pointer;
	background:url(admin/images/main_34.gif) no-repeat scroll;
	display:block;
	font-weight:bold;
	margin:0px;
	padding:5px 0 5px;
	text-align:center;
	font-size:12px;
	text-decoration:none;
}
#navigation ul {
	border-width:0px;
	margin:0px;
	padding:0px;
	text-indent:0px;
}
#navigation li {
	list-style:none; display:inline;
}
#navigation li li a {
	display:block;
	font-size:12px;
	text-decoration: none;
	text-align:center;
	padding:3px;
}
#navigation li li a:hover {
	background:url(admin/images/tab_bg.gif) repeat-x;
		border:solid 1px #adb9c2;
}
-->
</style>
<style type="text/css">
.STYLE1 {
	font-size: 12px;
	color: #000000;
}
.STYLE5 {font-size: 12}
.STYLE7 {font-size: 12px; color: #FFFFFF;}
-->
.tag_over
{
    text-align :center;
    cursor :pointer;
    color: #00FFFF;
}
.tag_out
{
    text-align :center;
    color: #FFFFFF;
}
</style>
<script language ="javascript" type="text/javascript">
    function gotoFirst() {
        window.open("admin_xtgly_glyxx.aspx", "rightFrame");
    }

    function gotoUserInfo() {
        window.open("admin_xtgly_glyxx.aspx", "rightFrame");
    }

    function goBack() {
        var win = document.frames['rightFrame'];
        win.history.go(-1);
    }

    function goFront() {
        var win = document.frames['rightFrame'];
        win.history.go(1);
    }

    function refresh() {
        var win = document.frames['rightFrame'];
        win.location.reload();
    }
    
    function goFrontHome(){
        window.open("home.aspx");
    }
    
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="top" >
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="57" background="admin/images/main_03.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="378" height="57" background="admin/images/main_01.gif">&nbsp;</td>
            <td>&nbsp;</td>
            <td width="281" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="33" height="27"><img src="admin/images/main_05.gif" width="33" height="27" /></td>
                <td width="248" background="admin/images/main_06.gif"><table width="225" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><div align="right"><img src="admin/images/user.gif" width="69" height="17" style="cursor :pointer" onclick="gotoUserInfo()"/>
                        </div></td>
                    <td><div align="right"><asp:ImageButton ImageUrl="admin/images/quit.gif" Width ="69" 
                            Height ="17" OnClick ="ImageButton1_Click" ID="ImageButton1" runat="server" /></div></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="40" background="admin/images/main_10.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="194" height="40" background="admin/images/main_07.gif">&nbsp;</td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="21"><img src="admin/images/main_13.gif" width="19" height="14"/></td>
                <td width="35" class="STYLE7"><a  class="tag_out" onmouseover="this.className='tag_over'" onmouseout="this.className='tag_out'"  onclick ="gotoFirst()">首页</a></td>
                <td width="21" class="STYLE7"><img src="admin/images/main_15.gif" width="19" height="14" /></td>
                <td width="35" class="STYLE7"><a  class="tag_out" onmouseover="this.className='tag_over'" onmouseout="this.className='tag_out'"  onclick ="goBack()">后退</a></td>
                <td width="21" class="STYLE7"><img src="admin/images/main_17.gif" width="19" height="14" /></td>
                <td width="35" class="STYLE7"><a  class="tag_out" onmouseover="this.className='tag_over'" onmouseout="this.className='tag_out'"  onclick ="goFront()">前进</a></td>
                <td width="21" class="STYLE7"><img src="admin/images/main_19.gif" width="19" height="14" /></td>
                <td width="35" class="STYLE7"><a  class="tag_out" onmouseover="this.className='tag_over'" onmouseout="this.className='tag_out'"  onclick ="refresh()">刷新</a></td>
                <td width="21" class="STYLE7"><img src="admin/images/main_52.gif" width="19" height="14" /></td>
                <td width="70" class="STYLE7"><a  class="tag_out" onmouseover="this.className='tag_over'" onmouseout="this.className='tag_out'"  onclick ="goFrontHome()">前台首页</a></td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
            <td width="248" background="admin/images/main_11.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="16%"><span class="STYLE5"></span></td>
                <td width="75%"><div align="center"><span class="STYLE7">登陆时间：<%string time = DateTime.Now.ToShortDateString() + " " + DateTime.Now.ToShortTimeString(); Response.Write(time); %></span></div></td>
                <td width="9%">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td  background="admin/images/main_31.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="8" ><img src="admin/images/main_28.gif" width="8"  /></td>
            <td width="147" background="admin/images/main_29.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="24%">&nbsp;</td>
                <td width="43%" height="20" valign="bottom" class="STYLE1">管理菜单</td>
                <td width="33%">&nbsp;</td>
              </tr>
            </table></td>
            <td width="39"><img src="admin/images/main_30.gif" width="39"  /></td>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="20" valign="bottom">
                </td>
                <td valign="bottom" class="STYLE1"><div align="right">&nbsp;&nbsp; 
                    &nbsp;&nbsp; &nbsp; <img src="admin/images/sj.gif" width="6" height="7" /> &nbsp;单位：北京科技大学</div></td>
              </tr>
            </table></td>
            <td width="17"><img src="admin/images/main_32.gif" width="17"  /></td>
          </tr>
        </table></td>
      </tr>
    </table>
</div>
<div id="center">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" bgcolor="#353c44">&nbsp;</td>
        <td width="147" valign="top">
            <div id="left">
              <script>
                setCenterHeight();
              </script>
              <ul id="navigation">
                <li> <a class="head">系统管理员</a>
                  <ul>
                    <li><a href="admin_xtgly_glyxx.aspx" target="rightFrame">管理员信息</a></li>
                    <li><a href="admin_xtgly_tjgly.aspx" target="rightFrame">添加管理员</a></li>
                    <li><a href="admin_xtgly_xxxg.aspx" target="rightFrame">信息修改</a></li>
                  </ul>
                </li>
                <li> <a class="head">学生管理</a>
                  <ul>
                    <li><a href="admin_xsgl_tjxszh.aspx" target="rightFrame">添加学生账号</a></li>
                    <li><a href="admin_xsgl_tjyzzh.aspx" target="rightFrame">添加一组账号</a></li>
                    <li><a href="admin_xsgl_xgxszh.aspx" target="rightFrame">修改学生账号</a></li>
                    <li><a href="admin_xsgl_glly.aspx" target="rightFrame">管理留言</a></li>
                  </ul>
                </li>
                <li> <a class="head">页面管理</a>
                  <ul>
                    <li><a href="admin_ymgl_bthzw.aspx" target="rightFrame">标题和正文</a></li>
                    <li><a href="admin_ymgl_ymct.aspx" target="rightFrame">页面插图</a></li>
                    <li><a href="admin_ymgl_yywz.aspx" target="rightFrame">引用文章</a></li>
                  </ul>
                </li>
                <li> <a class="head">通知管理</a>
                  <ul>
                    <li><a href="admin_tzgl_tjtz.aspx" target="rightFrame">添加通知</a></li>
                    <li><a href="admin_tzgl_sctz.aspx" target="rightFrame">删除通知</a></li>
                  </ul>
                </li>
                <li> <a class="head">材料数据</a>
                  <ul>
                    <li><a href="admin_phsj_drsj.aspx" target="rightFrame">导入数据</a></li>
                    <li><a href="admin_phsj_sctp.aspx" target="rightFrame">图片管理</a></li>
                  </ul>
                </li>
                <li> <a class="head">pdf管理</a>
                  <ul>
                    <li><a href="admin_pdfgl_scpdf.aspx" target="rightFrame">上传pdf</a></li>
                    <li><a href="admin_pdfgl_xgkj.aspx" target="rightFrame">修改课件</a></li>
                    <li><a href="admin_pdfgl_xgwx.aspx" target="rightFrame">修改文献</a></li>
                    <li><a href="admin_pdfgl_xgxt.aspx" target="rightFrame">修改习题</a></li>
                    <li><a href="admin_pdfgl_xgbz.aspx" target="rightFrame">修改标准</a></li>
                    <li><a href="admin_pdfgl_xgjywz.aspx" target="rightFrame">修改教研文章</a></li>
                    <li><a href="admin_pdfgl_tjpdf.aspx" target="rightFrame">推荐pdf</a></li>
                    <li><a href="admin_pdfgl_scslt.aspx" target="rightFrame">生成缩略图</a></li>
                    <li><a href="admin_pdfgl_plscpdf.aspx" target="rightFrame">服务器本地批量上传</a></li>
                    <li><a href="admin_pdfgl_qkylcs.aspx" target="rightFrame">清空阅览次数</a></li>
                  </ul>
                </li>
                <li> <a class="head">视频管理</a>
                  <ul>
                    <li><a href="admin_spgl_scsp.aspx" target="rightFrame">上传视频</a></li>
                    <li><a href="admin_spgl_xgxx.aspx" target="rightFrame">修改信息</a></li>
                    <li><a href="admin_spgl_tjsp.aspx" target="rightFrame">推荐视频</a></li>
                    <li><a href="admin_spgl_plscsp.aspx" target="rightFrame">服务器本地批量上传</a></li>
                    <li><a href="admin_spgl_qkylcs.aspx" target="rightFrame">清空阅览次数</a></li>
                  </ul>
                </li>
                <li> <a class="head">展示图片管理</a>
                  <ul>
                    <li><a href="admin_zstpgl_sctp.aspx" target="rightFrame">上传图片</a></li>
                    <li><a href="admin_zstpgl_xgxx.aspx" target="rightFrame">修改信息</a></li>
                  </ul>
                </li>
              </ul>
            </div>
        </td>
        <td width="10" bgcolor="#add2da">&nbsp;</td>
        <td valign="top"><iframe name="rightFrame" id="rightFrame" height="100%" width="100%" border="0" frameborder="0" src="admin_xtgly_glyxx.aspx"></iframe></td>
        <script>
                setCenterHeight2();
              </script>
        <td width="8" bgcolor="#353c44">&nbsp;</td>
      </tr>
    </table>
</div>
<div id="bottom">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td background="admin/images/main_71.gif"  style="line-height:11px; table-layout:fixed" width="165">&nbsp;</td>
        <td background="admin/images/main_72.gif"  style="line-height:11px; table-layout:fixed">&nbsp;</td>
        <td background="admin/images/main_74.gif"  style="line-height:11px; table-layout:fixed" width="17">&nbsp;</td>
      </tr>
    </table>
</div>
</form>
</body>
</html>
